package com.pearadmin.pro.modules.gen.service.impl;

import com.pearadmin.pro.modules.gen.domain.GenTableColumn;
import com.pearadmin.pro.modules.gen.repository.GenTableColumnRepository;
import com.pearadmin.pro.modules.gen.service.GenTableColumnService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Author: didiplus
 * Email: 972479352@qq.com
 * CreateTime: 2022/3/3
 * Desc:
 */

@Service
public class GenTableColumnServiceImpl implements GenTableColumnService {


    @Resource
    GenTableColumnRepository genTableColumnRepository;
    /**
     * 查询业务字段列表
     *
     * @param genTableColumn 业务字段信息
     * @return 业务字段集合
     */
    @Override
    public List<GenTableColumn> selectGenTableColumnListByTableId(GenTableColumn genTableColumn) {
        return genTableColumnRepository.selectGenTableColumnListByTableId(genTableColumn);
    }
}
